home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network Support Library
/
RoseWare - Network Support Library.iso
/
hardware
/
rb.arc
/
RB.PAS
< prev
Wrap
Pascal/Delphi Source File
|
1988-05-12
|
1KB
|
42 lines
Program ReadBios;
Type
Bios_Disk_Entry=Record
Cylinders:Integer;
Heads:Byte;
NU1:Integer;
Write_Pre:Integer;
NU2:Byte;
Control:Byte;
NU3:Array[1..3] of Byte;
Landing:Integer;
Sectors:Byte;
NU4:BYte;
End;
Var
HD_Bios:Array[1..44] of Bios_Disk_Entry absolute $e000:$e401;
I:Integer;
Begin
For I:=1 to 44 do
Begin
If I in [1,22,43] then
Begin
ClrScr;
Writeln(Form('## ##### ##### ##### ### ##### ###',' #',
' Cyls','Heads','W-Pre','Ctl',' Land','Sec'));
Writeln('---------------------------------------');
End{If};
With HD_Bios[I] do
Begin
Writeln(Form('## ##### ##### ##### ### ##### ###',I,Cylinders,
Heads,Write_Pre,Control,Landing,Sectors));
If I in [21,42] then
Begin
Writeln('Press any key to see rest of table');
Repeat Until Keypressed;
End{If};
ENd{With};
End{For};
Writeln('Press any key to continue');
Repeat Until Keypressed;
End.